import request from '@/utils/request'

// 查询现场救护站门（急）诊记录(重庆江北)列表 (分页)
export function selectPageOnSiteAmbulanceStation(query) {
  return request({
    url: '/business/onSiteAmbulanceStation/selectPage',
    method: 'get',
    params: query
  })
}

// 查询现场救护站门（急）诊记录(重庆江北)列表 (不分页)
export function listOnSiteAmbulanceStation(query) {
  return request({
    url: '/business/onSiteAmbulanceStation/list',
    method: 'get',
    params: query
  })
}

// 查询现场救护站门（急）诊记录(重庆江北)详细
export function getOnSiteAmbulanceStation(onSiteAmbulanceStationId) {
  return request({
    url: '/business/onSiteAmbulanceStation/' + onSiteAmbulanceStationId,
    method: 'get'
  })
}

// 新增现场救护站门（急）诊记录(重庆江北)
export function addOnSiteAmbulanceStation(data) {
  return request({
    url: '/business/onSiteAmbulanceStation',
    method: 'post',
    data: data
  })
}

// 修改现场救护站门（急）诊记录(重庆江北)
export function updateOnSiteAmbulanceStation(data) {
  return request({
    url: '/business/onSiteAmbulanceStation',
    method: 'put',
    data: data
  })
}

// 删除现场救护站门（急）诊记录(重庆江北)
export function delOnSiteAmbulanceStation(onSiteAmbulanceStationId) {
  return request({
    url: '/business/onSiteAmbulanceStation/' + onSiteAmbulanceStationId,
    method: 'delete'
  })
}
